package com.zjitc.mapper;

import com.zjitc.module.Country;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/3/20 15:35
 * @description:
 */
public interface CountryMapper {
    List<Country> findAll();

  List<Country> searchCountry(@Param("region") String region);

    int add(Country country);

    int update(Country country);

    int delete(String code);

    Country findbycode(String code);

  List<Country> findpage(@Param("pageid") int pageid,@Param("count") int count);
}
